package com.bdqn.membersystem.mapper;

import com.bdqn.membersystem.pojo.Information;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
* 作者：姚岳城
* 日期：2020/4/3 16:53
*/

public interface InformationMapper {
    /**
     * 咨询栏
     * @param loginCode
     * @return
     */
    List<Information> selectInformationListMyLoginCode(@Param("loginCode") String loginCode);

    /**
     * getList
     * @param information
     * @return
     * @throws Exception
     */
    public List<Information> getList(Information information) throws Exception;
    /**
     * getInformationList
     * @param information
     * @return
     * @throws Exception
     */
    public List<Information> getInformationList(Information information) throws Exception;
    /**
     * getInformation
     * @param information
     * @return
     * @throws Exception
     */
    public Information getInformation(Information information) throws Exception;
    /**
     * addInformation
     * @param information
     * @return
     * @throws Exception
     */
    public int addInformation(Information information) throws Exception;
    /**
     * modifyInformation
     * @param information
     * @return
     * @throws Exception
     */
    public int modifyInformation(Information information) throws Exception;
    /**
     * modifyInformationFileInfo
     * @param information
     * @return
     * @throws Exception
     */
    public int modifyInformationFileInfo(Information information) throws Exception;
    /**
     * deleteAffiche
     * @param affiche
     * @return
     * @throws Exception
     */
    public int deleteInformation(Information information) throws Exception;
    /**
     * count
     * @return
     * @throws Exception
     */
    public int count(Information information) throws Exception;
}